package ee.laevade.pommitamine;

import java.util.ArrayList;

public class Client {

	private String name;
	private ArrayList<String> gamesAvailable;
	
	public Client(String name){
		this.name=name;
		this.gamesAvailable = LobbyServlet.gameTables;

	}

	public String getName() {
		return name;
	}

	public ArrayList<String> getGamesAvailable() {
		return gamesAvailable;
	}

	public void addElement(String row) {
		this.gamesAvailable.add(row);
	}
	
	public String removeElement() {
		return this.gamesAvailable.remove(0);
	}
	


	
}
